#ifndef UCN2IC10WindowsH
#define UCN2IC10WindowsH

#include "../UControlContainerWindow.h"

class CN2IC10Implementation;
class TCN2IC10ChatWindow;
class TMemo;
class TEdit;
class TTextButton;

class TCN2IC10MainWindow : public TControlContainerWindow	{
private:
	CN2IC10Implementation* impl;
public:
	TCN2IC10MainWindow();
	virtual void Draw( );
	virtual void resize(int w, int h);

	void Ticker();
	TCN2IC10ChatWindow* newChatWindow(std::string username);
};

class TCN2IC10ChatWindow : public TControlContainerWindow	{
private:
	friend class CN2IC10Implementation;
	CN2IC10Implementation* impl;
	TMemo* textmemo;
	TEdit* textedit;
	TTextButton* button;
	std::string user;
public:
	TCN2IC10ChatWindow(CN2IC10Implementation* aimpl, std::string auser);
	virtual void resize(int w, int h);
	void SetUser(std::string auser);
	std::string GetUser();
	
};

#endif
